let moment = require("moment");

const start = moment("2025-08-18 09:45:00", "YYYY-MM-DD HH:mm:ss").valueOf(); //获取当前时间的时间戳




const current = new Date().valueOf();

console.log((start - current) / 1000 / 60);

const sholdPush = (start - current) / 1000 / 60 <= 10 && (start - current) / 1000 / 60 >= -10;

console.log(start);



const minutes = moment(start - current).valueOf() / (1000 * 60);
console.log(minutes)